import request from '@/utils/request'
/**
 * 帐号登录
 * @param {String} account - 用户名
 * @param {String} password - 密码
 * @returns Promise
 */
export const adminAccountLogin = ({ username, password }) => {
    return request('/admin/login', 'post', { username, password })
}
